<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 13044
  Date: 2020/9/21
  Time: 16:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/top.css">
</head>
<body>
<div class="top">
    <div>
        <div>
            <div><img src="${companyModel.logo}" height="141" width="204"/></div>
            <div>
                <div><img src="../img/icon2_03_uc2a.png" height="30" width="30"/></div>
                <div>${companyModel.phone}</div>
            </div>
        </div>
    </div>
    <div>
        <div>
            <div>
                <c:forEach items="${navModelList}" var="navModle" varStatus="aa">
<%--                    <c:if test="${aa.count>=2}">--%>
<%--                        <a href="${navModle.href}">--%>
<%--                            <div>${navModle.name}</div>--%>
<%--                        </a>--%>
<%--                    </c:if>--%>
                    <a href="${navModle.href}">
                        <div>${navModle.name}</div>
                    </a>
                </c:forEach>

                <%--                <a href="home.html">--%>
                <%--                    <div> 网站首页</div>--%>
                <%--                </a>--%>
                <%--                <a href="company.html">--%>
                <%--                    <div>公司介绍</div>--%>
                <%--                </a>--%>
                <%--                <a href="news.html">--%>
                <%--                    <div> 新闻介绍</div>--%>
                <%--                </a>--%>
                <%--                <a href="product.html">--%>
                <%--                    <div> 产品介绍</div>--%>
                <%--                </a>--%>
                <%--                <a href="callus.html">--%>
                <%--                    <div> 联系我们</div>--%>
                <%--                </a>--%>
                <%--                <a href="online.html">--%>
                <%--                    <div> 在线留言</div>--%>
                <%--                </a>--%>
            </div>
        </div>
    </div>
    <!--广告-->
    <div>
        <div>
            ${companyModel.ad}
        </div>
    </div>
</div>
</body>
</html>
